<?php
/**
 * Created by PhpStorm.
 * User: Inhere
 * Date: 2015/2/2
 * Time: 20:16
 * Use :
 * File: InterfaceSessionLauncher.php
 */

namespace ulue\parts\session;


interface InterfaceSessionLauncher
{
    public function start();

    public function restart();

    public function isStarted();

    public function getId();

    public function setId($id);

    public function getName();

    public function setName($name);

    public function regenerate($destroy = false);

    public function save();

    public function destroy();

    public function getCookieParams();

    public function setCookieParams($lifetime, $path = null, $domain = null, $secure = false, $httpOnly = true);

} 